<% if success = flash.discard(:success) %>
  show_flash('success', "<%= j success %>");
<% end %>

<% if error = flash.discard(:error) %>
  show_flash('error', "<%= j error %>");
<% end %>

<%= render partial: '/spree/admin/shared/update_order_state' if @order %>
